-- GENERATED SPELL FOR [Deviate Venomwing] --


function spell0_5756(pUnit, Event) --@Toxic Spit,n/a--
pUnit:FullCastSpellOnTarget(7951,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_5756', 2500, 1)
end

function Sorts_5756(pUnit, Event)
local choix_sorts_5756 = math.random(0, 0)
if choix_sorts_5756 == 0 then
pUnit:RegisterEvent('spell0_5756', 1, 1)
end
end

function mob5756_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_5756', math.random(1500, 3000), 1)
end

function mob5756_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5756_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob5756_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(5756, 1, 'mob5756_Action')
RegisterUnitEvent(5756, 2, 'mob5756_Leave')
RegisterUnitEvent(5756, 3, 'mob5756_Kill')
RegisterUnitEvent(5756, 4, 'mob5756_Die')
